It only applies to GDK_MOTION_NOTIFY events, so this is a more descriptive
name. Also add Since tag in docs, and GDK_AVAILABLE_IN_3_94.
gdk_device_get_position_double
gdk_device_get_window_at_position
gdk_device_get_window_at_position_double
-gdk_device_get_history
+gdk_device_get_motion_history
gdk_device_free_history
GdkTimeCoord
gdk_device_get_axis
}
/**
- * gdk_event_get_history:
+ * gdk_event_get_motion_history:
* @event: a #GdkEvent of type %GDK_MOTION_NOTIFY
*
* Retrieves the history of the @event motion, as a list of time and
*
* Returns: (transfer container) (element-type GdkTimeCoord) (nullable): a list
* of time and coordinates
+ *
+ * Since: 3.94
*/
GList *
-gdk_event_get_history (const GdkEvent *event)
+gdk_event_get_motion_history (const GdkEvent *event)
{
if (event->any.type != GDK_MOTION_NOTIFY)
return NULL;
gboolean gdk_event_get_axes (GdkEvent *event,
gdouble **axes,
guint *n_axes);
-GList * gdk_event_get_history (const GdkEvent *event);
+GDK_AVAILABLE_IN_3_94
+GList * gdk_event_get_motion_history (const GdkEvent *event);
G_END_DECLS